home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / pmake / doc / RCS / Makefile,v < prev   
Encoding:
Text File  |  1990-12-11  |  1.7 KB  |  101 lines

  1. head     1.3;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @# @;
  7.  
  8.  
  9. 1.3
  10. date     90.12.10.17.06.47;  author kupfer;  state Exp;
  11. branches ;
  12. next     1.2;
  13.  
  14. 1.2
  15. date     90.12.10.17.02.00;  author kupfer;  state Exp;
  16. branches ;
  17. next     1.1;
  18.  
  19. 1.1
  20. date     90.12.10.16.59.58;  author kupfer;  state Exp;
  21. branches ;
  22. next     ;
  23.  
  24.  
  25. desc
  26. @@
  27.  
  28.  
  29. 1.3
  30. log
  31. @Make "make tutorial.t" work.
  32. @
  33. text
  34. @# $Header: /sprite/src/cmds/pmake/doc/RCS/Makefile,v 1.2 90/12/10 17:02:00 kupfer Exp Locker: kupfer $
  35.  
  36. LOCALS        = tutorial.ms tutorial.psc \
  37.                   pmake.mansp pmake.psc \
  38.           Lst.mansp Lst.psc Makefile makefile tmac.ansp \
  39.                   cctrl.8 customs.8 importquota.8 reginfo.1
  40.  
  41. SUBDIRS        = index ex1 ex2 customs
  42.  
  43.  
  44. tutorial.t    : index/tmac.index tutorial.ms 
  45.     ditroff -Plw -ms -t $(.ALLSRC) > tut.temp
  46.     (cd index; make index)
  47.     -index/index -Plw -t tut.temp > $(.TARGET)
  48.     rm -f tut.temp index/index
  49.  
  50. print         : tutorial.t
  51.     lpr -Plw -h -n tutorial.t
  52.  
  53. package        ::
  54.     if [ ! -d $(PKGDIR) ]; then
  55.         mkdir $(PKGDIR)
  56.     fi
  57.     cp $(LOCALS) $(PKGDIR)
  58.     for i in $(SUBDIRS); do
  59.         (cd $i; $(MAKE) "PKGDIR=$(PKGDIR)/$i" package)
  60.     done
  61.  
  62. # This was the entry for "package" in "makefile".  Don't ask me what
  63. # the difference is between this one and the other "package".  All I
  64. # know is that having both a Makefile and a makefile is seriously
  65. # demented.    -kupfer
  66.  
  67. package_other    : 
  68.     -mkdir $(PKGDIR)
  69.     -mkdir $(PKGDIR)/index
  70.     cp *.mansp *.ansp *.ms *.psc Makefile makefile $(PKGDIR)
  71.     cp index/tmac.index index/index.c index/Makefile index/README \
  72.             $(PKGDIR)/index
  73. @
  74.  
  75.  
  76. 1.2
  77. log
  78. @Merge in stuff from "makefile".
  79. @
  80. text
  81. @d1 1
  82. a1 1
  83. # $Header$
  84. d13 3
  85. a15 2
  86.     index/index -Plw -t tut.temp > $(.TARGET)
  87.     rm -f tut.temp
  88. @
  89.  
  90.  
  91. 1.1
  92. log
  93. @Initial revision
  94. @
  95. text
  96. @d1 2
  97. a2 1
  98. #
  99. d27 12
  100. @
  101.